POV-Ray : Newsgroups : povray.binaries.scene-files : Basic Particle System : Re: Basic Particle System Take 2 Server Time
2 Sep 2024 10:17:11 EDT (-0400)
  Re: Basic Particle System Take 2  
From: JRG
Date: 13 Jan 2002 04:57:49
Message: <3c415a1d@news.povray.org>
Here's a better version. Now you control how many new particles are shot every
iteration with the variable Particles_per_Iter. If Particles_per_Iter*Iterations >
Particle_Count then your flow will stop before the end of the simulation.
I'm rendering the animated version at the moment, I'm going to post it later.

--
#local j=text{ttf"arial""JRG".2,0}#local J=0;#while(J<10)#local R=0;#while
(R<2)#local G=0;#while(G<1)#if(inside(j<R,G.1>))object{j scale.025translate
<R-1G-J/20J/-40+2>pigment{rgb<9J>}}#debug"O"#else#debug" "#end#local G=G+
.025;#end#local R=R+.05;#debug"\n"#end#local J=J+1;#end// JRG

Home: http://digilander.iol.it/jrgpov  //New: Kitchen scene WIP


Post a reply to this message


Attachments:
Download 'par_tut.pov.txt' (8 KB)

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.